package org.example.booksystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.example.booksystem.moudel.UserInfo;
@Mapper
public interface UserInfoMapper {

     @Select("select * from user_info where user_name= #{name};")
    UserInfo searchByName(@Param("name") String userName);
}
